package com.dk.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dk.pojo.TbBidrecord;
import com.dk.vo.TbBidrecordVO;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface TbBidrecordMapper extends BaseMapper<TbBidrecord> {

    @Select("select price from tb_bidrecord where cid = #{cid} ORDER BY timing DESC")
    List<TbBidrecordVO> selectPriceByCid(Long cid);
}
